export default function() {
  const body = document.querySelector('body')
  const app = document.createElement('von-app')
  const Nodes = body.childNodes[0]
  body.insertBefore(app, Nodes)

  this.store = this.createStore()
  this.routes = this.createRoute()
  this.app = this.initApp()
  if(this.callback && typeof this.callback === 'function')
    this.callback(this.app)
}
